<form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Group')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            {:build_select('group[]', $groupdata, $groupids, ['class'=>'form-control selectpicker', 'multiple'=>'', 'data-rule'=>'required'])}-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2"><span style="color:red;">*</span>{:__('单位')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-teacher_id" data-rule="required" data-source="org/orgcate/index" class="form-control selectpage" name="row[org_cate_id]" type="text" value="{$row.org_cate_id|htmlentities}" >-->
<!--        </div>-->
<!--    </div>-->
    <!--<div class="form-group">-->
        <!--<label for="username" class="control-label col-xs-12 col-sm-2">{:__('姓名')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input type="text" class="form-control" id="username" name="row[username]" value="{$row.username|htmlentities}" autocomplete="off" />-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="nickname" class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="nickname" name="row[nickname]" value="{$row.nickname|htmlentities}" autocomplete="off" />
        </div>
    </div>
    <div class="form-group">
        <label for="mobile" class="control-label col-xs-12 col-sm-2"><span style="color:red;">*</span>手机号:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="mobile" name="row[mobile]" value="{$row.mobile|htmlentities}" data-rule="required;mobile" autocomplete="off" {if $row.id == $adminid && $row.org_cate_id != 0} readonly {/if}/>
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">邮箱地址:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="email" name="row[email]"  data-rule="email"  value="{$row.email|htmlentities}" autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label for="user_id" class="control-label col-xs-12 col-sm-2">⼩程序个⼈id:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="user_id" name="row[user_id]"  value="{$row.user_id|htmlentities}" autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否启用')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('已启用'), 'hidden'=>__('不启用')], $row['status'])}
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>